package com.hyzx.qbasic.common.util;

/**
 * Created by 黄江华 on 2018/7/24
 */

public class TreeNode {
    /**
     * 节点id
     */
    private Integer id;

    /**
     * 节点名称
     */
    private String nodeName;

    /**
     * 父节点id
     */
    private Integer parentId;

    public TreeNode(Integer id, String nodeName, Integer parentId) {
        this.id = id;
        this.nodeName = nodeName;
        this.parentId = parentId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
}
